package com.ruoyi.teaching.service;

import java.util.List;

import com.ruoyi.teacher.domain.MyTask;
import com.ruoyi.teaching.domain.TeacherStalke;
import com.ruoyi.teaching.dto.TaskupdateDto;

/**
 * 老师跟踪
Service接口
 * lbj
 * @author ruoyi
 * @date 2023-05-18
 */
public interface ITeacherStalkeService 
{
    /**
     * 查询老师跟踪

     * 
     * @param id 老师跟踪
主键
     * @return 老师跟踪

     */
    public TeacherStalke selectTeacherStalkeById(Long id);

    /**
     * 查询老师跟踪
列表
     * 
     * @param teacherStalke 老师跟踪

     * @return 老师跟踪
集合
     */
    public List<TeacherStalke> selectTeacherStalkeList(TeacherStalke teacherStalke);

    /**
     * 新增老师跟踪

     * 
     * @param teacherStalke 老师跟踪

     * @return 结果
     */
    public int insertTeacherStalke(TeacherStalke teacherStalke);

    /**
     * 修改老师跟踪

     * 
     * @param teacherStalke 老师跟踪

     * @return 结果
     */
    public int updateTeacherStalke(TeacherStalke teacherStalke);

    /**
     * 批量删除老师跟踪

     * 
     * @param ids 需要删除的老师跟踪
主键集合
     * @return 结果
     */
    public int deleteTeacherStalkeByIds(Long[] ids);

    /**
     * 删除老师跟踪
信息
     * 
     * @param id 老师跟踪
主键
     * @return 结果
     */
    public int deleteTeacherStalkeById(Long id);
   // 根据studentId查跟踪表
    List<TeacherStalke> findByStudentId(Long studentId);

    List<TeacherStalke> getfindListByStudentId(Long studentId);
    // 根据MyTaskId查数据
    List<MyTask> getfindListmodifyHistorys(String name);
    // 修改历史任务
    int gettaskupdate(TaskupdateDto dto);
}
